package com.yfp.common.core.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum TradeStateEnum {
    SUCCESS(0, "支付成功"),
    REFUND(1, "转入退款"),
    NOTPAY(2, "未支付"),
    CLOSED(3, "已关闭"),
    REVOKED(4, "已撤销（付款码支付）"),
    USERPAYING(5, "用户支付中（付款码支付）"),
    PAYERROR(6, "支付失败(其他原因，如银行返回失败)");

    private int code;
    private String description;
}
